babl: add babl_format_exists
authorØyvind Kolås <pippin@gimp.org>
Tue, 31 Oct 2017 19:48:23 +0000 (20:48 +0100)
committerØyvind Kolås <pippin@gimp.org>
Tue, 31 Oct 2017 19:48:25 +0000 (20:48 +0100)
commit4500e4f9fa9030bebe1a0a65e2b3634b1122772b
tree03920a87da46f75c3809379d688f13e53a21e506
parent72a074df6545fcb35b82ecc2636864afecaa9294
babl: add babl_format_exists

A function to check if a specific format - by name - is already known by babl.
Should be used in conjunction with babl_format() for user supplied format
strings.
babl/babl-format.c
babl/babl.h